import { request } from '@/utils/http'
/**
 * 组卷管理
 */
export default {
  create: data => request.post('/snapshot', data),
  delete: id => request.delete(`/snapshot/${id}`),
  update: data => request.put(`/snapshot/${data.id}`, data),
  list: (params = {}) => request.get('/snapshot', { params }),
  getById: id => request.get(`/snapshot/${id}`),
}
